package com.nstar.pum.view
{
	public class RMBMoney extends Money
	{
		
		
		public function RMBMoney(value:Number,values:Array,duration:int,w:Number,h:Number,url:String)
		{
			this.value = value;
			this.values = values;
			this.duration = duration;
			this.width = w;
			this.height = h;
			this.url = url;
			/* 
			switch(value){
				case 0.1:
					this.width = 80;
					this.height = 80;
					this.url = "assets/money/rmb/rmb01.png";
					break;
				case 0.5:
					this.width = 80;
					this.height = 80;
					this.url = "assets/money/rmb/rmb05.png";
					break;
				case 1:
					this.width = 120;
					this.height = 120;
					this.url = "assets/money/rmb/rmb1.png";
					break;
				case 5:
					this.width = 129;
					this.height = 58;
					this.url = "assets/money/rmb/rmb5.png";
					break;
				case 10:
					this.width = 117;
					this.height = 50;
					this.url = "assets/money/rmb/rmb10.png";
					break;
				case 20:
					this.width = 120;
					this.height = 120;
					this.url = "assets/money/rmb/rmb20.png";
					break;
				case 50:
					this.width = 108;
					this.height = 51;
					this.url = "assets/money/rmb/rmb50.png";
					break;
				case 100:
					this.width = 115;
					this.height = 55;
					this.url = "assets/money/rmb/rmb100.png";
					break;
			}
			 */
		}
	}
}